<template>
  <div>
    <h2 >学生名称：{{ name }}</h2>
    <h2>学生性别：{{ gender }}</h2>
    <input type="text" v-bind:value="name">
  </div>
</template>

<script>
export default {
  name: "StudentInfo",
  data() {
    return {
      name: "阿占",
      gender: "男",
    };
  },
};
</script>